package com.future.direction.presenter.contract;

import com.future.direction.data.bean.BaseBean;
import com.future.direction.data.bean.CourseAlbumBean;
import com.future.direction.data.bean.MainHomeBean;
import com.future.direction.data.bean.UserSignatureBean;
import com.future.direction.data.bean.VersionBean;
import com.future.direction.data.bean.WeekRecommendBean;
import com.future.direction.ui.widget.BaseView;

import java.util.List;

import io.reactivex.Observable;

/**
 * Created by ZHP on 2018/12/27/0027.
 */

public interface MainHomeContract {

    interface IMainHomeModel {
        //用户打卡记录接口
        Observable<BaseBean<UserSignatureBean>> usersignature();

        //课程每周推荐接口
        Observable<BaseBean<List<WeekRecommendBean>>> weekrecommend();

        //课程专辑列表接口
        Observable<BaseBean<List<CourseAlbumBean>>> courseAlbum(int pageNumber, int pageSize);

    }

    interface View extends BaseView {
        void usersignatureSucess(UserSignatureBean userSignatureBean);

        void weekrecommendSucess(List<WeekRecommendBean> weekRecommendBeans);

        void courseAlbumSucess(List<CourseAlbumBean> courseAlbumBeans);
    }
}
